package main

import (
	"fmt"
)

func main(){

	//var num[3][4]int = [...][4]int{{1,2,3,4},{5,6,7,8},{9,10,11,12}}
	//var num =  [...][4]int{{1,2,3,4},{5,6,7,8},{9,10,11,12}}
	num:= [...][4]int{{1,2,3,4},{5,6,7,8},{9,10,11,12}}

	for i:=0;i<len(num);i++{

		for j:=0;j<len(num[i]);j++{
			fmt.Printf("num[%v][%v]=%v\t",i,j,num[i][j])
		}

		fmt.Println()
	}

	for i,v:=range num{

		for j,v2:=range v{

			fmt.Printf("num[%v][%v]=%v\t",i,j,v2)
		}
		fmt.Println()
	}
}